export default {
  email: {
    regex: /.+@.+\..+/
  },
  required: {
    regex: /\S+/
  },
  password: {
    regex: /\w{6,}/
  },
  phone: {
    regex: /^13[0-9]{1}[0-9]{8}$|14[5,7]{1}[0-9]{8}$|15[0,1,2,3,5,6,7,8,9]{1}[0-9]{8}$|18[0-9]{1}[0-9]{8}$|17[0,3,6,7,8]{1}[0-9]{8}$/
  },
  validate: {
    regex: /\w{4,}/
  }
}
